Skip to content

Conversation

@chihminchao
Copy link
Contributor

Section 18.3 says
"The V extension supports all vector load and store instructions (Section Vector Loads and Stores), except the V extension does not support EEW=64 for index values when XLEN=32"

Section 18.3 says
"The V extension supports all vector load and store instructions
(Section Vector Loads and Stores), except the V extension does not
support EEW=64 for index values when XLEN=32"

Signed-off-by: Chih-Min Chao <[email protected]>
#define VI_CHECK_ST_INDEX(elt_width) \
require_vector(false); \
require(elt_width <= P.VU.ELEN); \
require(elt_width <= P.get_xlen()); \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe require(elt_width <= std::min(P.VU.ELEN, P.get_xlen()));? But it is a matter of opinion.

Copy link
Collaborator

@aswaterman aswaterman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please rebase to fix the CI failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants